package biopepa;

import java.util.ArrayList;

public class SpeciesAndLocations {
	public String species;
	public String nameWithLocations;
	public ArrayList<LocationAndInitial> locations;
	public boolean hasLocations;
	
	public SpeciesAndLocations(String name){
		species= name;
		nameWithLocations = name;
		locations = new ArrayList<LocationAndInitial>();
		hasLocations = false;
	}
	
	public void addLocationForSpecies(NewLocation location){
		LocationAndInitial locationAndInitial = new LocationAndInitial(location);
		locations.add(locationAndInitial);
	}

}
